﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading;


namespace WcfService1
{
    public class Service1 : IService1
    {
        public int GetData(int i)
        {
            string s = "";

            try
            {
                int i1 = Convert.ToInt32("a");
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return 1;
        }

        public void GetData2()
        {
        }
    }
}
